<template>

<!-- 总配舱管理功能与057系统有差别 
   786 修改和新建 运单时 收货人 收货人电话改为非必填 
-->

  <!-- <div class="homePageClass">首页</div> -->
  <div class="homePageClass">
    <!-- <img src="@/assets/img/welcome.jpg" class="" alt=""> -->
  </div>
</template>

<script>

  export default {
    components: {},
    name: "home",
    data() {
      return {
      }
    },
    created() {
    },
    mounted() {
      let bg_url=this.$baseUrl+JSON.parse(sessionStorage.getItem('userData')).bg_cover
      if(!!bg_url){
        document.getElementsByClassName('homePageClass')[0].style.background='url("'+bg_url+'") no-repeat  100% / 100%'
      }
    },
    watch: {
    },
    methods: {
      }
    }
</script>

<style scoped lang="less">
  .homePageClass {
    height: 100%;
    width: 100%;
    position: relative;
    overflow: hidden;
    img{
      width: 100%;
      height: 100%;
      position: absolute;
      left: 50%;
      top: 0;
      transform: translate(-50%);
    }
  } 
</style>
